package com.jz.cash.client.service;

import com.jz.cash.client.entity.TableConfig;
import com.jz.cash.client.model.User;
import com.jz.cash.client.query.PageBean;
import com.jz.cash.client.query.QueryBean;
import com.jz.cash.client.vo.*;
import com.stip.mybatis.generator.plugin.BaseExample;
import com.stip.mybatis.generator.plugin.IService;

import java.util.List;

/**
 * Extensible custom interface
 **/
public interface TableConfigService extends IService<TableConfig, BaseExample, Long> {
    PageBean<TableConfigVo> list(QueryBean queryBean);


    void reserveTable(ReserveTableVo reserve, User user);

    void cancelReserve(Long tableId, User user);

    void openStage(OpenStageVo open, User user);

    TableInfoVo tableInfo(QueryBean queryBean);
}